﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.Produce
{
    /// <summary>
    /// Represents the ids of the base object types.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public enum BaseObjectTypeId
    {
        /// <summary>
        /// CMIS Document id.
        /// </summary>
        [EnumMember(Value = "cmis:document")]
        CmisDocument,

        /// <summary>
        /// CMIS Folder id.
        /// </summary>
        [EnumMember(Value = "cmis:folder")]
        CmisFolder,

        /// <summary>
        /// CMIS Relationship id.
        /// </summary>
        [EnumMember(Value = "cmis:relationship")]
        CmisRelationship,

        /// <summary>
        /// CMIS Policy id.
        /// </summary>
        [EnumMember(Value = "cmis:policy")]
        CmisPolicy,
    }
}
